﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class tb_UserService
	{
		private static readonly tb_UserDAL db = new tb_UserDAL();
		#region[tb_User_GetById]
		public static DataTable tb_User_GetById(tb_UserInfo Data)
		{
			return db.tb_User_GetById(Data);
		}
		#endregion
		#region[tb_User_GetByAll]
		public static DataTable tb_User_GetByAll()
		{
			return db.tb_User_GetByAll();
		}
		#endregion
		#region[tb_User_GetByTop]
		public static DataTable tb_User_GetByTop(string Top, string Where, string Order)
		{
			return db.tb_User_GetByTop(Top, Where, Order);}
		#endregion
		#region[tb_User_Insert]
		public static void tb_User_Insert(tb_UserInfo Data)
		{
			 db.tb_User_Insert(Data);
		}
		#endregion
		#region[tb_User_Update]
		public static void tb_User_Update(tb_UserInfo Data)
		{
			 db.tb_User_Update(Data);
		}
		#endregion
		#region[tb_User_Delete]
		public static void tb_User_Delete(string Data)
		{
			 db.tb_User_Delete(Data);
		}
		#endregion
	}
}